<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../../lib/vue.js"></script>
</head>
<body>
    <div id="box">
        <ul>
            <li v-for="(data,index) of dataList">
                {{data}}---{{index}}
            </li>
        </ul>

        <ul>
            <li v-for="(data,key,index) of obj">
                {{key}}--{{data}}--{{index}}
            </li>
        </ul>

        <ul>
            <li v-for="n in 10">
                {{n}}
            </li>
        </ul>
    </div>

    <script>
        new Vue({
            el: "#box",
            data: {
                dataList: [
                    "aaa","bbb","ccc"
                ],
                obj: {
                    name: "kerwin",
                    age: 100,
                    localtion: "shanghai"
                }
            }
        })
    </script>
</body>
</html>